<?php
/**
 * Created by PhpStorm.
 * User: sykbxc
 * Date: 2019/4/2
 * Time: 11:24
 */

namespace App\Services\AdminService\Models;
use Illuminate\Database\Eloquent\Model;

class AdminRecordModel  extends Model
{
    protected $table = 'admin_record';

    /**
     * 管理员信息
     * @return \Illuminate\Database\Eloquent\Relations\HasOne
     */
    public function admin()
    {
        return $this->hasOne('App\Services\AdminService\Models\AdminUserModel','id','admin_id');
    }

}